<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".UserProfileActivity"
    android:background="@drawable/gradient_profile_1"
    android:id="@+id/mainProfile1">

    <LinearLayout
        android:id="@+id/linearLayout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:padding="4dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <ImageButton
            android:id="@+id/profile_back"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:scaleType="centerCrop"
            android:background="#00000000"
            android:src="@drawable/profile_back"
            android:layout_margin="8dp"/>

        <TextView
            android:id="@+id/textView2"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="Профиль"
            android:textAllCaps="true"
            android:textColor="#FFFFFF"
            android:textSize="26sp"
            android:fontFamily="@font/tt_ravels_extra_bold_italic"
            android:letterSpacing="0.1"
            android:gravity="center"
            android:layout_margin="15dp"/>

        <ImageButton
            android:id="@+id/profile_settings"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:scaleType="centerCrop"
            android:background="#00FFFFFF"
            android:src="@drawable/profile_settings"
            android:layout_margin="8dp"/>
    </LinearLayout>

    <LinearLayout
        android:id="@+id/uInf"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="16dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/linearLayout">

        <TextView
            android:id="@+id/profile_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Имя"
            android:textColor="#FFFFFF"
            android:textSize="23sp"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"
            android:gravity="center"/>

        <TextView
            android:id="@+id/profile_ageInfo"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="00 лет"
            android:textColor="#FFFFFF"
            android:textSize="15sp"
            android:fontFamily="@font/tt_travels_extra_bold"
            android:letterSpacing="0.1"
            android:gravity="center"/>
    </LinearLayout>

    <eightbitlab.com.blurview.BlurView
        android:id="@+id/blurView"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_margin="8dp"
        app:cardCornerRadius="25dp"
        app:layout_constraintTop_toBottomOf="@id/uInf"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        android:background="@drawable/rounded_rectangle_01">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:background="#0F000000">

                <TextView
                    android:id="@+id/textView13"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:padding="8dp"
                    android:layout_gravity="center_vertical"
                    android:text="  Статистика за"
                    android:textSize="15sp"
                    android:fontFamily="@font/tt_travels_extra_bold"
                    android:letterSpacing="0.1"/>

                <Button
                    android:layout_margin="4dp"
                    android:id="@+id/profile_dateBtn"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:background="@drawable/shape1"
                    android:padding="4dp"
                    android:text="00.00.0000"
                    android:textColor="#FFFFFF"
                    android:textSize="15sp"
                    android:fontFamily="@font/tt_travels_extra_bold"
                    android:letterSpacing="0.1"/>

                <Space
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1" />

                <ImageButton
                    android:id="@+id/profile_shareBtn"
                    android:layout_width="60dp"
                    android:layout_height="60dp"
                    android:scaleType="centerCrop"
                    android:background="#00000000"
                    android:padding="8dp"
                    app:srcCompat="@drawable/profile_share" />
            </LinearLayout>

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/profile_recycler"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:padding="8dp"
                android:layout_weight="1"
                tools:listitem="@layout/user_stats_item"
                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
                />
        </LinearLayout>
    </eightbitlab.com.blurview.BlurView>

</androidx.constraintlayout.widget.ConstraintLayout>